package com.yunyao.common.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 发票关联dto
 */
@Getter
@Setter
public class RelationInvoiceDto {

    /**
     * 发票ID
     */

    @NotBlank(message = "发票ID为空")
    private String invoiceBindId;

    private String invoiceBindName;

    /**
     * 关联发票id
     */
    @NotNull(message = "关联发票ID为空")
    private List<String> relationInvoiceIds;

}
